#include "kgmtreewidget.h"

KGMTreeWidget::KGMTreeWidget(QWidget* parent, char* type) : QTreeWidget(parent){
	strType = type;
		
}

void KGMTreeWidget::mouseDoubleClickEvent(QMouseEvent *event){
	
	if (event->button() == Qt::LeftButton){
		dragStartPosition = event->pos();
	}
	
	emit itemClick();
}


void KGMTreeWidget::mouseMoveEvent(QMouseEvent *event) {

}
